home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcc
/
v05n03
/
key.scr
< prev
next >
Wrap
Text File
|
1992-01-02
|
503b
|
22 lines
A
MOV SI,0080 ; see if any parameter
MOV CX,[SI] ; was entered on the
XOR CH,CH ; command line
JCXZ 115 ; no, jump to non-FK
MOV AH,0 ; get a character
INT 16 ; using BIOS
CMP AL,0 ; is it function key?
JNZ 109 ; no, so try again
MOV AL,AH ; use 'extended' code
JMP 119 ; goto errlev setter
MOV AH,0 ; get a character
INT 16 ; using BIOS
MOV AH,4C ; exit with errorlevel
INT 21 ; via DOS
N KEY.COM
RCX
1D
W
Q